package com.lcx.movie.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.stereotype.Component;

import java.sql.Timestamp;

@Component
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@TableName(value = "actor")
public class Actor {
  @TableId(value = "actor_id",type = IdType.INPUT)
  private long actorId;
  @TableField(value = "actor_Name")
  private String actorName;
  @TableField(value = "actor_image_path")
  private String actorImagePath;
  @TableField(value = "create_time")
  private Timestamp createTime;
  @TableField(value = "update_time")
  private Timestamp updateTime;

}
